<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>课程信息|<?php echo ($configcache['Title']); ?></title>
    <link rel="stylesheet" type="text/css" href="__CSS__/content.css"  />
    <link rel="stylesheet" type="text/css" href="__CSS__/public.css"  />
    <script type="text/javascript" src="__JS__/jquery.js"></script>
    <script type="text/javascript" src="__JS__/Public.js"></script>
    <script type="text/javascript" src="__JS__/winpop.js"></script>
    <script type="text/javascript" src="__JS__/check.js"></script>
    <script>
        $(document).ready(function() {
            $('.button').click(function() {
                var id=$('#dl input:hidden').val();
                alert(id);
                $.ajax({
                    url:'',
                    dataType:'json',
                    type:'POST',
                    data:{id:id},
                    success: function(data) {

                    }
                });
            });
        });
    </script>
</head>
<body>
    <div id="content">
    <h1>首页 > 课程管理 > 课程详情</h1>
        <h2>
            <div class="h2_left">
                <a href="javascript:;" class="f5" onclick="f5();">刷新</a>
                <a href="javascript:history.back();" class="Retreat">后退</a>
                <a href="javascript:history.go(1);" class="Advance">前进</a>
            </div>
        </h2>
        <?php if(($code) == "5000"): ?><h2><span style="font-weight:500;">没有找到数据,请检查课程编号。</span></h2><?php endif; ?>
        <?php if(($code) != "5000"): ?><dl id="dl">
                <dt style="border-bottom: 1px solid #eee;"></dt>
                <dd>
                    <span class="dd_left">审核状态：</span>
                    <span class="dd_right">
                        <?php switch($user["checkStatus"]): case "0": ?>未审核<?php break;?>
                            <?php case "1": ?>待审核<?php break;?>
                            <?php case "2": ?>已认证<?php break;?>
                            <?php default: endswitch;?>
                    </span>
                </dd>
                <dd>
                    <span class="dd_left">备注：</span>
                    <span class="dd_right"><font><?php echo ($user["comment"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">行业分类：</span>
                    <span class="dd_right"><font><?php echo ($user["courseCategroy"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">行业分类code：</span>
                    <span class="dd_right"><font><?php echo ($user["courseCategroyCode"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">课程介绍：</span>
                    <span class="dd_right"><font><?php echo ($user["courseIntro"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">课程名字：</span>
                    <span class="dd_right"><font><?php echo ($user["courseName"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">课时数：</span>
                    <span class="dd_right"><font><?php echo ($user["courseNum"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">开始时间：</span>
                    <span class="dd_right"><font><?php echo ($user["courseStartTime"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">结束时间：</span>
                    <span class="dd_right"><font><?php echo ($user["courseEndTime"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">是否免费：</span>
                    <span class="dd_right">
                        <?php switch($user["isFree"]): case "0": ?>不免费<?php break;?>
                            <?php case "1": ?>免费<?php break;?>
                            <?php default: ?>未知<?php endswitch;?>
                    </span>
                </dd>
                <dd>
                    <span class="dd_left">主图地址：</span>
                    <img src="<?php echo ($user["mainCoursePicUrl"]); ?>" class="dd_right" style="height: 100px;">
                </dd>
                <dd>
                    <span class="dd_left">学习对象：</span>
                    <span class="dd_right"><font><?php echo ($user["studyObejct"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">学习人数：</span>
                    <span class="dd_right"><font><?php echo ($user["studyNum"]); ?></font></span>
                </dd>
                <dd>
                    <span class="dd_left">教师名称：</span>
                    <span class="dd_right"><font><?php echo ($user["teacherName"]); ?></font></span>
                </dd>
            </dl><?php endif; ?>
    </div>
</body>
</html>